﻿using System;
using System.ComponentModel;
using System.Runtime.Serialization;
using RayDen.Library.Core.Primitives;

namespace RayDen.Library.Entity.Frames {
    [Serializable]
    [DataContract]
    [KnownType(typeof(FrameCamera))]
    public class FrameCamera : FrameElement {
        [DataMember]
        public float Fov;
        [DataMember]
        public float LensRadius;
        [DataMember(Order = 3)]
        [DefaultValue(true)]
        public bool FiniteApperture;
        [DataMember]
        public string Name;
        [DataMember]
        public Vector Position;
        [DataMember]
        public Vector Target;
        [DataMember]
        public Vector Up;

        

    }
}